<section class="dux-layout-page">

    <div class="dux-br"></div>
    <form class="am-form dux-form" action="{url('')}" method="post" data-dux="form-bind" data-advanced="false">
        <div class="am-input-group">
            <span class="am-input-group-label"><i class="am-icon-user am-icon-fw"></i></span>
            <input type="text" class="am-form-field" name="username" id="username" placeholder="{$nameTip}">
        </div>
        <div class="am-input-group">
            <span class="am-input-group-label"><i class="am-icon-image am-icon-fw"></i></span>
            <input type="text" class="am-form-field" placeholder="图片验证码" name="imgcode" id="imgcode">
            <span class="am-input-group-label">
                                <img src="{url('member/register/code')}" onclick="this.src ='{url("member/register/code")}?'+Math.random()">
                    </span>
        </div>
        <div class="am-input-group">
            <span class="am-input-group-label"><i class="am-icon-mobile am-icon-fw"></i></span>
            <input type="text" class="am-form-field" placeholder="请输入验证码" name="code">
            <span class="am-input-group-label">
                        <button href="javascript:;" class="am-btn am-btn-sm am-btn-danger" data-dux="page-getCode"
                                data-url="{url('member/Register/getCode')}" data-field="username,imgcode" type="button">获取验证码</button>
                    </span>
        </div>
        <div class="am-input-group">
            <span class="am-input-group-label"><i class="am-icon-lock am-icon-fw"></i></span>
            <input type="password" class="am-form-field" name="password" placeholder="请输入登录密码">
        </div>
        <div class="am-input-group">
            <span class="am-input-group-label"><i class="am-icon-lock am-icon-fw"></i></span>
            <input type="password" class="am-form-field" name="password2" placeholder="再次输入登录密码">
        </div>
        <br>
        <div class="dux-padding">
            <button class="am-btn am-btn-danger  am-btn-block">立即更改</button>
        </div>
        <br>
            已经注册? <a href="{url('member/login/index')}"  class="am-text-danger">立即登录</a>
    </form>

</section>